package args;

import org.apache.commons.lang3.BooleanUtils;

/**
 * @author leo
 * @date 2021/6/21
 */
public class LogArgs extends Args{
    private final boolean value;

    public LogArgs(String flag, String value) {
        super(flag, value);
        this.value = BooleanUtils.toBoolean(value);
    }

    @Override
    public Object getValue(){
        return value;
    }
}
